<script src="../node_modules/axios/dist/axios.min.js"></script>
<script>
  const request = axios.create({
    baseURL: 'http://localhost:3000',
  })
  request.interceptors.response.use(config => {
    return config.data
  })

  const p1 = request.get('/api/one')
  const p2 = request.get('/api/two')
  const p3 = request.get('/api/three')

  Promise.any([p2, p1, p3]).then(r => {
    console.log(r)
  }).catch(e => {
    console.log(e, 233)
  })

</script>